package com.wn.controller;

import com.wn.entity.RbacRole;
import com.wn.util.MyBatisUtil;
import org.apache.ibatis.session.SqlSession;

import java.util.ArrayList;
import java.util.List;

public class MyConImpl implements MyCon {
    @Override
    public List<RbacRole> findAll() {
        List<RbacRole> rbacRoles = new ArrayList<>();
        SqlSession sqlSession = MyBatisUtil.getSqlSession();
        RbacRole mapper = sqlSession.getMapper(RbacRole.class);


        return null;
    }

    @Override
    public int addRole(RbacRole rbacRole) {
        return 0;
    }
}
